package http.HttpUtil;

public class ResponsePkg {
	private int responseCode;
	private byte[] responseData;
	private int schema;

	public int getResponseCode() {
		return this.responseCode;
	}

	public void setResponseCode(int responseCode) {
		this.responseCode = responseCode;
	}

	public byte[] getResponseData() {
		return this.responseData;
	}
	

	public boolean isHaveGetData() {
		try {
			if ((this.responseData == null) || (this.responseData.length == 0)) {
				return false;
			}
		} catch (Exception e) {
			e.printStackTrace();
		}
		return true;
	}

	public void setResponseData(byte[] responseData) {
		this.responseData = responseData;
	}

	public int getScheme() {
		return this.schema;
	}

	public void setScheme(int schema) {
		this.schema = schema;
	}
}